import React, { CSSProperties } from 'react';
import ReactQuill from 'react-quill';
import 'react-quill/dist/quill.snow.css';

const RichTextEditor = (props: {
  style?: CSSProperties;
  onChange?: (val: string) => void;
  value?: string;
}) => <ReactQuill {...props} />;

export default RichTextEditor;
